package com.xiaoxx.coin.po.res;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "24小时内市场行情响应")
public class TickerPrice24Response {
    @Schema(description = "交易对符号", example = "BTCUSDT")
    private String symbol;

    @Schema(description = "24小时价格变动", example = "-94.99999800")
    private String priceChange;

    @Schema(description = "24小时价格变动百分比", example = "-95.960")
    private String priceChangePercent;

    @Schema(description = "加权平均价", example = "0.29628482")
    private String weightedAvgPrice;

    @Schema(description = "最近一次成交价", example = "4.00000200")
    private String lastPrice;

    @Schema(description = "最近一次成交额", example = "200.00000000")
    private String lastQty;

    @Schema(description = "24小时内第一次成交的价格", example = "99.00000000")
    private String openPrice;

    @Schema(description = "24小时最高价", example = "100.00000000")
    private String highPrice;

    @Schema(description = "24小时最低价", example = "0.10000000")
    private String lowPrice;

    @Schema(description = "24小时成交量", example = "8913.30000000")
    private String volume;

    @Schema(description = "24小时成交额", example = "15.30000000")
    private String quoteVolume;

    @Schema(description = "24小时内，第一笔交易的发生时间", example = "1499783499040")
    private Long openTime;

    @Schema(description = "24小时内，最后一笔交易的发生时间", example = "1499869899040")
    private Long closeTime;

    @Schema(description = "首笔成交id", example = "28385")
    private Long firstId;

    @Schema(description = "末笔成交id", example = "28460")
    private Long lastId;

    @Schema(description = "成交笔数", example = "76")
    private Integer count;
}
